package com.demo.repository;

import com.demo.entity.Channel;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface ChannelRepo extends PagingAndSortingRepository<Channel, Integer> {

    List<Channel> findByName(String name);
}
